﻿@model IEnumerable<GSLMS.Entity.TB_APP_PROFILESINFO>
@{
    Layout = null;
    bool actionto = string.IsNullOrEmpty(Request["actionto"]) ? false : !Request["actionto"].Equals("read");  
}
<table class="list" width="100%" layouth="130">
    <thead>
        <tr class="header">
            <th>
                附件类型
            </th>
            <th>
                附件
            </th>
        </tr>
    </thead>
    @foreach (var item in Model)
    {            
        <tr>
            <td>@((GSLMS.Entity.Enum.ApplyEnum.ProDocTypeName)int.Parse(item.ANNEXTYPE))
            </td>
            <td>
                <a class="btnAttach" href="@item.SAVEURL"  target="_blank">下载</a>
                &nbsp;
                @if (!actionto)
                {
                    <a class="btnDel" href="DianDang/Apply/ProInfo/FilesInfoDelete/@item.ID?path=@(Server.UrlPathEncode(item.SAVEURL))"  target="ajaxTodo" callback="RefreshProFilesInfoList">
                        删除</a>
                }
            </td>
        </tr>         
    }
</table>
